<{include file="element/inc_header.html"}>
<div class="main-container" id="main-container">
	<script type="text/javascript">
		try{ace.settings.check('main-container' , 'fixed')}catch(e){}
	</script>

	<div class="main-container-inner">
		<div class="page-content">
			<div class="page-header">
				<h1>
					筛选导出
					<small>
						<i class="icon-double-angle-right"></i>
						请设置 &amp; 筛选条件
					</small>
				</h1>
			</div><!-- /.page-header -->
			<div class="widget-box">
				<div class="widget-header">
					<h4>筛选导出</h4>
					<div class="widget-toolbar no-border"> 
						<a href="/admin.php?c=order&a=index" class="btn btn-xs bigger btn-yellow">
							<i class="icon-double-angle-left"></i>返回列表
						</a> 
					</div>
				</div>
				<div class="widget-body">
					<div class="widget-main">
						<div class="row">
							<div class="col-xs-12">
								<!-- PAGE CONTENT BEGINS -->

								<form action="/admin.php?c=order&a=savesearch" method="POST" class="form-horizontal" role="form">

									<div class="form-group">
										<label class="col-sm-2 control-label no-padding-right" for="form-field-1">订单编号</label>
										<div class="col-sm-9">
											<input type="text" id="s_order" name="s_order" placeholder="订单编号" class="col-xs-10 col-sm-5" />
										</div>
									</div>
									<div class="space-4"></div>
									<div class="form-group">
										<label class="col-sm-2 control-label no-padding-right" for="form-field-2">收件人</label>
										<div class="col-sm-9">
											<input type="text" id="s_user" name="s_user" placeholder="收件人姓名" class="col-xs-10 col-sm-5" />
										</div>
									</div>
									<div class="space-4"></div>

									<div class="form-group">
										<label class="col-sm-2 control-label no-padding-right" for="form-field-2">收件人电话</label>
										<div class="col-sm-9"> 
											<input type="tel" id="s_mobile" name="s_mobile" placeholder="收件人电话" class="col-xs-10 col-sm-5" />  
										</div>
									</div>

									<div class="space-4"></div>

									<div class="form-group">
										<label class="col-sm-2 control-label no-padding-right" for="form-input-readonly">商品名称</label>

										<div class="col-sm-9">
											<input type="text" id="s_product" name="s_product" class="col-xs-10 col-sm-5" placeholder="商品名称" id="form-input-readonly"  />
										</div>
									</div>

									<div class="space-4"></div>

									<div class="form-group">
										<label class="col-sm-2 control-label no-padding-right" for="form-field-5">订单状态</label>

										<div class="col-sm-9">
											<div class="clearfix col-sm-4 no-padding-left">
												<select class="input-medium form-control" id="s_status" name="s_status">
													<option value="">== 所有 ==</option>
													<{foreach from=$OrderStatusList item=text key=key }>
													<option value="<{$key}>"><{$text}></option>
													<{/foreach}>
												</select>
											</div>

											<div class="space-2"></div>

											<div class="help-block" id="input-span-slider"></div>
										</div>
									</div>

									<div class="form-group">
										<label class="col-sm-2 control-label no-padding-right">下单时间</label>

										<div class="col-sm-9">
											<div class="input-group col-sm-6 no-padding-left">
												<span class="input-group-addon">
													<i class="icon-calendar bigger-110"></i>
												</span>  
												<input class="form-control date-picker" id="s_starttime" name="s_starttime" type="text" data-date-format="dd-mm-yyyy" />
												<span class="input-group-addon">-</span>
												<input class="form-control date-picker" id="s_endtime" name="s_endtime" type="text" data-date-format="dd-mm-yyyy" />
												<span class="input-group-addon">
													<i class="icon-calendar bigger-110"></i>
												</span>
											</div>
										</div>
									</div>
									
									<div class="space-4"></div>
									
									<div class="form-group">
										<label class="col-sm-2 control-label no-padding-right">所在地址</label>

										<div class="col-sm-9">
											<div class="input-group col-sm-6 no-padding-left">
												<span class="input-group-addon">
													省
												</span>   
												<select class="input-medium form-control col-sm-4" id="s_province" name="s_province"></select> 
												<span class="input-group-addon">市</span>
												<select class="input-medium form-control col-sm-4" id="s_city" name="s_city"></select> 
												<span class="input-group-addon">区</span>
												<select class="input-medium form-control col-sm-4" id="s_area" name="s_area"></select> 
											</div>
										</div>
									</div>
									<div class="space-4"></div>
									
									<div class="form-group">
										<label class="col-sm-2 control-label no-padding-right">收件地址</label>

										<div class="col-sm-9"> 
											<input type="text"  id="s_address" name="s_address" class="col-xs-10 col-sm-5"  />  
										</div>
									</div>

									<div class="space-4"></div>
 
									<div class="clearfix form-actions">
										<div class="col-md-offset-3 col-md-9">
											<button class="btn btn-info" type="submit">
												<i class="icon-ok bigger-110"></i>
												确认导出数据
											</button> 
											&nbsp; &nbsp; &nbsp;
											<button class="btn" type="reset">
												<i class="icon-undo bigger-110"></i>
												重置导出条件
											</button>
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div> 
			</div><!-- /.row --> 
		</div><!-- /.page-content --> 
  
	</div><!-- /.main-container -->
</div>
<{include file="element/js_lib.html"}>
<script language="javascript"> 
				
	jQuery(function(){ 
			$('.date-picker').datepicker({autoclose:true}).next().on(ace.click_event, function(){
					$(this).prev().focus();
				});
				
				addressInit('s_province', 's_city', 's_area'); 

		})
</script>